package cn.exrick.xboot.modules.Information.service;

import cn.exrick.xboot.common.vo.SearchVo;
import cn.exrick.xboot.modules.Information.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 河流信息接口
 * @author Lyg
 */
public interface IriverService extends IService<River> {


    /**
     * 查找正在巡河的人
     * @Param("userDSdasda") String userId
     * @return
     */
    List<RiverTourHistory> findRiverPeople(Map<String, Object> param);

    List<WorkCondition> getWorkConditionForm(Map<String, Object> map);
    List<RiverPatrol> getRiverPatrolForm(Map<String,Object>map);
    List getUserId(Map<String,Object>map);
    List<RiverTourNum> getRiverTourNum(Map<String,Object>map);
    List<RiverTourNum> getRiverTourNumNo(Map<String,Object>map);

    /**
     * 查询已经巡河人员数据
     * @param map
     * @return
     */
    List<RiverTourNum> getRiverTourNumByDept(Map<String,Object>map);
    /**
     * 查询未巡河人员数据
     * @param map
     * @return
     */
    List<RiverTourNum> getNotRiverTourNumByDept(Map<String,Object>map);

    /**
     * 查询部门下级及本部门id集合
     * @param deptIds
     * @return
     */
    String getDeptChilds(String deptIds);


    //查询各镇巡管员运行情况表
    List<RiverPersonTable> getRiverPatrolTable(Map<String,Object>map);

    //查询各镇运行情况表
    List<TownRiverTable> getOperationAll(Map<String,Object>map);

    List<ParagraghOperation> getParagraghOperation(SearchVo searchVo);
}